#include<iostream>
#include<thread>
#include "EpollReactor.h"
using namespace std;

class workerthread{     //工作线程  单个线程模型
private:
   EpollReactor*reactor;
   thread*pa;
public:
   EpollReactor* GetReactor();  //获取反应堆实列
   thread::id thread_id;        //线程id     
   static void threadruning(workerthread*thread);
   void run();
   workerthread();
   ~workerthread();
};